package com.loveazure.ui.action;

import java.awt.event.ActionEvent;

import com.loveazure.ui.LearnPanel;
import com.loveazure.ui.LearnPanel.action_status;

public class ResultWrongAction extends LearnPanelAction {

	private static final String RESULT_WRONG = "错误";


	/**
	 * 
	 */
	private static final long serialVersionUID = 3548786172302437264L;

	public ResultWrongAction(LearnPanel panel) {
		super(panel, RESULT_WRONG);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		panel.processWordResult(3);
		panel.displayNewWord();
		panel.switchStatus(action_status.impress);

	}

}
